package cn.edu.zut.service.Impl;

import cn.edu.zut.dao.DepDao;
import cn.edu.zut.domain.Dep;
import cn.edu.zut.service.DepService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DepServiceImpl implements DepService {
    @Autowired
    private DepDao dao;
    @Override
    public List<Dep> findAll() {
        return dao.findAll();
    }
}
